package com.example.bookshelf.network

import retrofit2.http.GET
import retrofit2.http.Path
import retrofit2.http.Query

interface BookApiService {
    @GET("books/v1/volumes")
    suspend fun getBooks(@Query("q") q: String): String

    @GET("books/v1/volumes/{id}")
    suspend fun getBook(@Path("id") id: String): String
}
